#!/usr/bin/env bash

# PACKAGE: Gunther
# VERSION: 2.0
# DATE: 12/19/08
# AUTHOR(S): Zarrar Shehzad and the FSL team

# Variables
declare -a COMMANDS
declare -a COMMANDS_INFO
declare -a COMMANDS_INPUT
declare -a COMMANDS_OUTPUT

# INITIAL INPUT AND FINAL OUTPUT
BIG_INPUT="${fsfTemplate} ${fsfOutputDir}"
BIG_OUTPUT="${fsfOutput}"

COMMANDS_INFO[1]="Creating fsf file"
COMMANDS[1]="sed s/${fsfFind}/${fsfReplace}/g ${fsfTemplate} > ${fsfOutput}"

COMMANDS_INFO[2]="Checking new fsf file '${fsfOutput}'"
COMMANDS_INPUT[2]="${fsfOutput}"
COMMANDS[2]="x_checkFsf.sh ${fsfOutput} ${feat_to_skip} ${feat_to_remove}"
COMMANDS[3]="feat_model ${fsfOutput%.fsf}"
